package com.sta.staff.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.util.List;

@Data
public class Users {
    @TableId
    private Integer uid;
    private String username;
    private String password;
    private String name;
    private String sex;
    private String phoneNum;
    private String address;
    private String department;
    private int workAge;
    private boolean status;
    @TableField(exist = false)  //重复密码，非数据库里的数据
    private String password1;
    @TableField(exist = false)
    private List<Salary> salaries;
}
